Contents page

Rules for Tools/struct SaveEdit


struct SaveEdit
struct SaveEdit {
    long editmode;              /* What mode the mouse editor is in. */
    long showbits;              /* Which items to show. */
    long modebits;              /* Preference flags. */
    long begin, end;            /* Region markers. */
    short windowleftedge, windowtopedge, windowwidth, windowheight;
    short listwindowleftedge, listwindowtopedge, listwindowheight;
    short notewindowleftedge, notewindowtopedge;
    short toolid;
    short shift;
    unsigned short topstart;    /* Distance from window to top of data. */
    short listshow;             /* Number of items visible. */
    unsigned char controlnum;   /* Control number of displayed cc. */
    char centernote;            /* Center note for staff. */
    char useclip;               /* Flag to use clipboard. */
    char listedit;              /* Flag to use list editor. */
    char inserttype;            /* Type of inserted note. */
    char insertalter;           /* Special flags (triplets, etc.) */
    short insertlength;         /* Resultimg length. */
    short insertduration;       /* Resulting duration. */
    char insertdtype;           /* Duration type. */
    char insertvtype;           /* Velocity type. */
    unsigned char insertvelocity;/* Resulting value. */
    short notatequant;          /* Notation quantization. */
    char notateres;             /* Notation quantization. */
    char notatekey;             /* Notation key. */
    char notatetrans;           /* Notation offset. */
    short notatebits;           /* Notation preferences. */
    char transcenter;           /* Tranposed center note. */
    char lownote;               /* The lowest displayed note. */
    char highnote;              /* The highest displayed note. */
    short trbits;               /* Options, frequently short-lived. */
    char tabstrings;            /* how many strings in tablature */
    char string[12];            /* up to 12 strings, value for each string */
    char highfret;              /* highest fret number */
    short ntbits;               /* Notation opotion bits */
    unsigned short noteconvert[NT_LEN][NL_LEN][NR_LEN];
        /* represents: [Notetype][Length][Range]
         * i.e. [triplet][n8][low] = 155; [triplet][n8][high] = 160;
         */
    char tabposition;           /* the position to notate if position
                                   notation is requested */
    short stringbits;           /* which strings are active to be
                                   notated upon */
    short tabresolution;
    short selectmask;           /* For selective Toolize */
    char selectlower;
    char selectupper; 
};